<?php
namespace app\qian\model;
use think\Model;
class BmModel extends Model
{

    protected  $table =['dy_company'];
    public function getStatusTurnAttr($value, $data)
    {
        $turnArr = [0=>lang('status0'), 1=>lang('status1')];
        return $turnArr[$data['status']];
    }
}